<%@ page language="java" import="java.util.*" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
<%@taglib prefix="shiro" uri="http://shiro.apache.org/tags" %> 
<div class="header-section">
    <!--toggle button start-->
    <!--<div class="toggle-btn"><i class="iconfont icon-shouqi"></i></div>-->
    <!--toggle button end--> 
    <div class="menu-right">
        <ul class="notification-menu clearfix">
            <li class="avatar">
                <c:if test="${user.logo != '' && user.logo !=null }">
                    <img src="${user.logo }" alt="">
                </c:if>
                <c:if test="${user.logo == '' || user.logo ==null }">                
                    <span class="nameTip">${fn:substring(user.userName,0,1)}</span>
                </c:if>
                ${user.userName}                
				<div class="avatar_show">
					<a href="/user/accountSettings">个人设置</a>
					<a href="/logout">退出</a>
				</div>
            </li>
        </ul>
    </div>
</div>